import request from '@/config/axios'


export interface HomeReqVo {
  id: number
  userImg: string
  name: string
  info: string
  title: string
  status: byte
}

// 查询成交列表
export const getHomeTwoList = async () => {
  return await request.get({ url: `hutai/home-two/list` })
}


// 查询滚动列表
export const getHomeOneList = async () => {
  return await request.get({ url: `/hutai/home-one/list`})
}


// 编辑
export const createData = async (data) => {
  return await request.post({ url: `/hutai/home-one/create`, data })
}



